using UnityEngine;
using System.Collections;

public class ReactionJob : BuildingOperationJob {
	
	int reactionType;
	
	public ReactionJob(int nstartX, int nstartY, int nstartZ, int nreactionType):base(nstartX, nstartY, nstartZ){
		
	}
	
	public bool workOn(double workspeed, Robot robot){
		bool isDone = base.workOn(workspeed, robot);
		if (isDone){
			GameObject m = GameObject.CreatePrimitive(PrimitiveType.Cube);
			//m.AddComponent(Rigidbody);
			m.transform.position = new Vector3(2, 0, 15);
		}
		
		return isDone;
	}

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
}
